package com.sghd.fight.module.game.event;

import java.util.Collection;

public class ExitEvent {
    public static final String NAME = "ROOM:EXIT";

    /**玩家id*/
    private Collection<Long> playerIds;
    /**房间id*/
    private long roomId;

    public static ExitEvent valueOf(Collection<Long> playerIds, long roomId) {
        ExitEvent result = new ExitEvent();
        result.playerIds = playerIds;
        result.roomId = roomId;
        return result;
    }

    public Collection<Long> getPlayerIds() {
        return playerIds;
    }

    public void setPlayerIds(Collection<Long> playerIds) {
        this.playerIds = playerIds;
    }

    public long getRoomId() {
        return roomId;
    }

    public void setRoomId(long roomId) {
        this.roomId = roomId;
    }
}